﻿using Common.Result;
using Model.Dto.ShoppingCart;
using Model.Entitys;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IService
{
    public interface IShoppingCartService
    {
        Task<bool> AddOrEditAsync(ShoppingCartAdd shoppingCartAdd,long userId, bool sub);
        Task<List<ShoppingCart>> GetShoppingCartsAsync(long userId);
        Task<bool> CleanAsync(long userId);
    }
}
